/**
 * Created by liyongliang on 15/9/18.
 */
var gulp = require('gulp');
var config = require('../config');

gulp.task('watch', ['clean', 'browserSync'], function () {

    gulp.watch(config.markup.src, ['markup']);
    gulp.watch(config.img.src, ['img']);
    gulp.watch(config.mock.src, ['mock']);
    gulp.watch(config.img.src, ['script']);
    gulp.watch(config.sass.src, ['sass']);
    gulp.watch(config.scripts.src, ['webpack']);
});